//
//  MyTenderSecondCell.m
//  LineMoney
//
//  Created by 范琦 on 16/7/25.
//  Copyright © 2016年 范琦. All rights reserved.
//

#import "MyTenderSecondCell.h"

@implementation MyTenderSecondCell

- (void)awakeFromNib {
    // Initialization code
    
    _nameLabel.textColor = TEXTCOLOR;
    _moneyLabel.textColor = TEXTCOLOR;
    _HLLabel.textColor = TEXTCOLOR;
    _allSelectLabel.hidden = YES;
    _isSelect = NO;
}
- (void)selectImg
{
    if (_isSelect == YES) {
        _Img.image = [UIImage imageNamed:@"未选中"];
        _isSelect = NO;
    }else{
        _Img.image = [UIImage imageNamed:@"选中"];
        _isSelect = YES;

    }


}

- (void)rowEqualOne
{
    self.allSelectLabel.hidden = NO;
    self.Img.hidden = YES;
    self.Btn.hidden = YES;
    self.nameLabel.text = @"姓名";
    self.moneyLabel.text = @"投标金额";
    self.HLLabel.text = @"投标换率";
    self.allSelectLabel.text = @"多选";
    
    self.nameLabel.font = [UIFont systemFontOfSize:11];
    self.moneyLabel.font = [UIFont systemFontOfSize:11];
    self.HLLabel.font = [UIFont systemFontOfSize:11];
    self.allSelectLabel.font = [UIFont systemFontOfSize:11];
    
    self.nameLabel.textColor = [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1];
    self.moneyLabel.textColor = [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1];
    self.HLLabel.textColor = [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1];
    self.allSelectLabel.textColor = [UIColor colorWithRed:153 / 255.0 green:153 / 255.0 blue:153 / 255.0 alpha:1];


}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
